package com.xxxy.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xxxy.model.ExamplePaper;
import com.xxxy.response.ExamplePaperResponse;


/**
 * @author StevenShen
 * @date 2022/3/8 21:01
 */
public interface ExamplePaperService extends IService<ExamplePaper> {

    /**
     * 获取样卷
     * @param examinationPaperId
     * @return
     */
    ExamplePaperResponse getExamplePaper(Integer examinationPaperId);

    /**
     * 提交样卷
     * @param reviewedId
     * @param questionIndex
     * @param scores
     * @return
     */
    Boolean submit(Integer reviewedId, String questionIndex, String scores);
}
